package com.bbzn.device.client.service;

import com.bbzn.device.client.dataobject.GroupLink;
import com.bbzn.device.client.dto.group.GroupLinkDTO;
import com.bbzn.device.client.dto.group.LinkGroupDTO;

import java.util.List;

public interface GroupLinkService {


    int deleteByPrimaryKey(Long id);

    int insert(GroupLink record);

    int insertOrUpdate(GroupLink record);

    int insertOrUpdateSelective(GroupLink record);

    int insertSelective(GroupLink record);

    GroupLink selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GroupLink record);

    int updateByPrimaryKey(GroupLink record);

    List<GroupLink> findByAll(GroupLink groupLink);

    int updateBatch(List<GroupLink> list);

    int updateBatchSelective(List<GroupLink> list);

    int batchInsert(List<GroupLink> list);

    List<GroupLink> queryByAll(GroupLinkDTO group);

    int batchDel(List<Long> list);

    List<LinkGroupDTO> getLinkGroup(List<Long> ids, Long groupId) throws Exception;
}

